package com.appkubes.fintech.restful.application.rent.reponse;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class BillDetailResponse implements Serializable {

    @ApiModelProperty("期数ID")
    private String lineKey;

    @ApiModelProperty("总期数")
    private Integer periods;

    @ApiModelProperty("账单总金额")
    private BigDecimal payTotalAmt;
    @ApiModelProperty("账单本金")
    private BigDecimal payAmt;
    @ApiModelProperty("账单利息")
    private BigDecimal payInterestAmt;


    @ApiModelProperty("账单利息")
    private BigDecimal payFineAmt;

    @ApiModelProperty("剩余总金额")
    private BigDecimal surTotalAmt;
    @ApiModelProperty("剩余本金")
    private BigDecimal surAmt;

    @ApiModelProperty("剩余利息")
    private BigDecimal surInterestAmt;



    @ApiModelProperty("剩余违约金")
    private BigDecimal surFineAmt;

    @ApiModelProperty("已还总基恩")
    private BigDecimal repayTotalAmt;
    @ApiModelProperty("已还本金")
    private BigDecimal repayAmt;
    @ApiModelProperty("已还利息")
    private BigDecimal repayInterestAmt;

    @ApiModelProperty("已还罚金")
    private BigDecimal repayFineAmt;

    @ApiModelProperty("状态 00 未开始，01还款中 02已逾期 03正常还款完毕 04已提还 05 逾期终止")
    private String status;

    @ApiModelProperty("违约金额")
    private BigDecimal fineAmt;

    @ApiModelProperty("逾期天数")
    private Integer overDueDays;

    @ApiModelProperty("起息日")
    private String startDate;

    @ApiModelProperty("最后还款日")
    private String repayDate;

}

